package 时间;

import java.time.ZoneId;
import java.util.Set;

public class 时区 {
    public static void main(String[] args) {
        ZoneId zoneId = ZoneId.systemDefault();
        Set<String> zoneids = ZoneId.getAvailableZoneIds();
        System.out.println(zoneids);
        System.out.println(zoneId);

        zoneId = ZoneId.of("Asia/Aden");
        System.out.println(zoneId);
    }
}
